package com.spike.mapper;

import com.spike.model.Dept;

import java.util.List;

public interface DeptMapper {
    List<Dept> findList();
    List<String> findDeptName();
    int findIdByName(String name);
    Dept findById(int id);
    int updateDept(Dept dept);
    int deleteDept(int id);
    int addDept(Dept dept);

    List<Dept> findByNA(Dept dept);
}
